<template>
	<div class="box" @click="add">
		<Button type="primary">测试内容</Button>
		<slot></slot>
	</div>
</template>
<script>
import { Button } from 'view-ui-plus';
export default {
	components: {
		Button
	},
	data() {
		return {
			a: 1,
			b: 2
		}
	},
	methods: {
		add() {
			console.log(`helloworld`);
		}
	}
}
</script>
<style lang="scss" scoped>
.box {
	width: 100px;
	height: 100px;
	border: 1px solid #000;
}
</style>